package com.imaker.frame.utils

/**
 * @Description:全局常量
 * @author ziheng
 * @date 2022/12/5 17:31
 */
class Constants {
    companion object {

        const val BASE_URL = "https://micomico.imaker.world"



        const val settingServiceAgreementUrl = "https://micomico.imaker.world/user-privacy/user.html"
        const val settingPrivacyPolicyUrl = "https://micomico.imaker.world/user-privacy/privacy.html"

        const val WEB_TITLE: String = "web_title"
        const val WEB_LINK: String = "web_link"
        const val MIN_CLICK_DELAY_TIME: Int = 1000
        const val PATH_WEB: String = "/kb_common/ui/WebActivity"
        const val PATH_LOGIN: String = "/kb_user/ui/loginActivity"
        const val LOGIN_QR_SOURCE = "wechat_mp"

        //kv
        const val USER_NAME: String = "user_name"
        const val USER_INFO: String = "user_info"
        const val USER_COOKIE: String = "user_cookie"
        const val FIRST_OPEN: String = "first_open"
        const val USER_OPEN_LOGIN = "user_open_login"
        const val USER_CLENT_UUID = "user_client_uuid"
        const val USER_TOKEN = "user_token"
        const val USER_ID = "user_id"
        const val ORDER_ID = "mkxq_wx_order_id"

        //http
        const val HTTP_SUCCESS = 200
        const val HTTP_AUTH_INVALID = 401

        //首页和选集页面的code
        const val REQUESTCODE = 10001
        //选集之后返回首页,收藏点击返回首页
        const val RESPONSECODE = 10002
        //登录成功之后返回首页
        const val COLLECTCODE = 10003
        //修改用户信息
        const val UPDATEUSERINFO = 10004
        //设置宝宝性别的requestcode
        const val REQUESTUPDATEUSERCODE = 10005

        const val ACTION_LOGIN_SUCCESS = "ACTION_LOGIN_SUCCESS"
    }
}